<ons-page id="tab4">
  <ons-list></ons-list>
  <script>
    ons.getScriptPage().onInit = generateElements;
  </script>
</ons-page>
